﻿using System;
using Pay.TO;
using Newtonsoft.Json;

namespace Pay.DTO {
	/// <summary>
	/// 消息的查询条件
	/// </summary>
	[JsonObject(MemberSerialization.OptOut)]
	public class MessageQuery : PageQuery {
		/// <summary>
		/// 商户id
		/// </summary>
		[JsonIgnore]
		public long user_id { get; set; }
        /// <summary>
        /// 推荐类型
        /// </summary>
        public int type { get; set; }
        /// <summary>
        /// 推荐类型:1商城消息，2通知消息，3客服消息，4分润
        /// </summary>
        public int msg_type { get; set; }
        /// <summary>
        /// IM使用：聊天对应的商户id，群聊对应群id，业务消息和验证朋友消息不用传
        /// </summary>
        public long object_id { get; set; }
	}
}
